/**
 *  TextMash - simple IDE for Clojure
 *  
 *  Copyright (C) 2010 Aleksander Naszko
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *  
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package pl.olek.textmash.menu;

/**
 * 
 * @author anaszko
 *
 */
public class EncodingTable {
	
	public static String [] get(int i){
		return encoding[i];
	}
	
	public static int length() {
		return encoding.length;
	}
	
	
	final static String [][] encoding = new String[][]{{"Unicode (UTF-8)","UTF8"},
			{"Unicode (UTF-16)","UTF-16"},
			{"Unicode (UTF-16BE)","UnicodeBig"},
			{"Unicode (UTF-16LE)","UnicodeLittle"},
			null,

			{"Western (Windows Latin 1)","Cp1252"},
			{"Central European (Windows Latin 2)","Cp1250"},
			{"Cyrillic (Windows)","Cp1251"},
			{"Greek (Windows)","Cp1253"},
			{"Turkish (Windows Latin 5)","Cp1254"},
			{"Hebrew (Windows)","Cp1255"},
			{"Arabic (Windows)","Cp1256"},
			{"Baltic (Windows)","Cp1257"},
			{"Vietnamese (Windows)","Cp1258"},
			null,

			{"Western (ISO Latin 1)","ISO8859_1"},
			{"Central European (ISO Latin 2)","ISO8859_2"},
			{"Western (ISO Latin 3)","ISO8859_3"},
			{"Central European (ISO Latin 4)","ISO8859_4"},
			{"Cyrillic (ISO 8859-5)","ISO8859_5"},
			{"Arabic (ISO 8859-6)","ISO8859_6"},
			{"Greek (ISO 8859-7)","ISO8859_7"},
			{"Hebrew (ISO 8859-8)","ISO8859_8"},
			{"Turkish (ISO Latin 5)","ISO8859_9"},
			{"Nordic (ISO Latin 6)",null},
			{"Thai (ISO 8859-11)",null},
			{"Baltic (ISO Latin 7)","ISO8859_13"},
			{"Celtic (ISO Latin 8)",null},
			{"Western (ISO Latin 9)","ISO8859_15_FDIS"},
			{"Romanian (ISO Latin 10)",null},
			null,			
			{"Western (Mac OS Roman)","MacRoman"},
			{"Japanese (Mac OS)",null},
			{"Traditional Chinese (Mac OS)",null},
			{"Korean (Mac OS)",null},
			{"Arabic (Mac OS)","MacArabic"},
			{"Hebrew (Mac OS)","MacHebrew"},
			{"Greek (Mac OS)","MacGreek"},
			{"Cyrillic (Mac OS)","MacCyrillic"},
			{"Simplified Chinese (Mac OS)",null},
			{"Central European (Mac OS)","MacCentralEurope"},
			{"Turkish (Mac OS)","MacTurkish"},
			{"Icelandic (Mac OS)","MacIceland"},
			null,			
			{"Latin-US (DOS)","Cp850"},
			{"Japanese (Windows, DOS)","Cp930"},
			{"Simplified Chinese (Windows, DOS)","Cp935"},
			{"Korean (Windows, DOS)","Cp933"},
			{"Traditional Chinese (Windows, DOS)","Cp937"},
			null,
			{"Japanese (EUC)","EUC_JP"},
			{"Simplified Chinese (GB 2312)","ISO2022CN_GB"},
			{"Traditional Chinese (EUC)","EUC_TW"},
			{"Korean (EUC)","EUC_KR"},
			null,
			{"Japanese (ISO 2022-JP)","ISO2022JP"},
			{"Japanese (Shift JIS)","SJIS"},
			{"Western (NextStep)",null},
			{"ASCII","ASCII"}};


}
